home *** CD-ROM | disk | FTP | other *** search
- Path: usamrid.innovsoftd.com!news
- From: David Peterson <dpeterso@isd.net>
- Newsgroups: comp.lang.c++
- Subject: Re: Passing array to DLL, Help
- Date: Tue, 19 Mar 1996 07:52:33 -0600
- Organization: Applied Systems, Inc.
- Message-ID: <314EBC21.FF2@isd.net>
- References: <4iihe0$kie@lastactionhero.rs.itd.umich.edu>
- NNTP-Posting-Host: pm2e-1-205.innovsoftd.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
-
- Mark Anderson wrote:
- >
- > I wrote a DLL, which has a function taking an array of float and
- > returning an array of float. The declaration I used is like:
- > float* Func(float*, .......)
- > But every time I called it from the test program, the arguement array
- > seems to be corrupted( I used "step into" to debug) and it give General
- > Protection Fault. Anyone has any idea why this happens. Thanks in advance.
- >
- > Email response preferred.
- >
- > anderson@cedar.cic.net
-
- try:
-
- float far * pascal _export Func (float far *, .....)
-
-
-